﻿<Page x:Class="SkyShell.SideBySideNaming"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="402" d:DesignWidth="468"
	Title="SideBySideNaming" DataContext="{Binding Source={StaticResource Locator}, Path=Sync}">

    <Grid>
    	<Grid.ColumnDefinitions>
    		<ColumnDefinition/>
    		<ColumnDefinition Width="Auto"/>
    	</Grid.ColumnDefinitions>
    	<Grid.RowDefinitions>
    		<RowDefinition Height="Auto"/>
    		<RowDefinition Height="Auto"/>
    		<RowDefinition Height="Auto"/>
    		<RowDefinition/>
    	</Grid.RowDefinitions>
        <TextBox Name="textBox1" VerticalAlignment="Center" Text="{Binding Path=AlternativeName, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay, ValidatesOnExceptions=True}" Grid.Row="2" FontSize="21.333" Margin="10,0" />
        <TextBlock FontSize="24" HorizontalAlignment="Left" Margin="10,10,0,9.998" Name="textBlock1" Text="Choose alternative name " VerticalAlignment="Center" />
        <TextBlock FontSize="16" HorizontalAlignment="Stretch" Margin="10,0,10,10" TextWrapping="Wrap" Grid.Row="1" VerticalAlignment="Top" Grid.ColumnSpan="2" ><Run Language="en-ca" Text="Since SkyDrive contains already a folder with the same name, an alternative name for the folder is needed. Please type your own name below or keep the autogenerated name."/></TextBlock>
        <Button Content="OK" HorizontalAlignment="Center" Margin="0,0,10,0" Name="button1" VerticalAlignment="Center" Grid.Row="2" Grid.Column="1" FontSize="21.333" Width="50" Command="{Binding Path=CreateSideBySideFolder}" />
    </Grid>
</Page>
